
	detach object3D;

	camUseNVG false;
	//sleep 1;
	//if (mission_Over) then {titletext ["Mission Failed - all players are unconscious","BLACK", 4]; sleep 1};
	
	if ((var_console_valid_type == "Vehicle") or (var_console_valid_type == "Matrl")) then {
	//sleep 1;
	sleep 0.1;
	VtsHight =VtsHight + 6;
	};
	//sleep 2;
	sleep 0.1;
	object3D attachTo [lapin,[0,0,VtsHight ]]; 
	From3D = true;
	publicvariable "From3D";

	spawn_x = getPosASL object3D select 0;
	spawn_y = getPosASL object3D select 1;
	spawn_z = getPosASL object3D select 2;
	publicVariable "spawn_x";
	publicVariable "spawn_y";
	publicVariable "spawn_z";
console_unit_orientation = getdir object3D;
	
	//object3D attachTo [lapin,[0,0,VtsHight ]]; 
	
	
	
//	sleep 2;

	
	//deleteVehicle object3D;

	nom_du_marqueur = "";

	publicvariable "console_valid_unite";
	publicvariable "var_console_valid_camp";
	publicvariable "var_console_valid_attitude";
	publicvariable "console_unit_moral";
	publicvariable "nom_console_valid_mouvement";
	publicvariable "var_console_valid_mouvement";
	publicvariable "var_console_valid_type";
	publicvariable "console_unit_unite";
	publicvariable "var_console_valid_vitesse";
	publicvariable "console_nom";
	publicvariable "nom_console_valid_unite";
	publicvariable "console_init";
	publicvariable "nom_du_marqueur";
	publicvariable "console_unit_orientation";

	console_spawn = true;
	publicvariable "console_spawn";
	//sleep 1;
	sleep 0.1;
	closeDialog 0;
	/*
	NORRN_SPECTATE_cam CamSetTarget lapin;
	NORRN_SPECTATE_cam CameraEffect ["INTERNAL","Back"];
	NORRN_SPECTATE_cam CamCommit 2;
	deleteVehicle object3D;
	
	//sleep 2;
	sleep 0.1;

	
	camUseNVG false;
	player switchCamera "INTERNAL";
	NORRN_SPECTATE_cam CameraEffect ["Terminate","Back"];
	CamDestroy NORRN_SPECTATE_cam;
	deleteVehicle lapin;

